Class CryptoMapSetImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.CryptoMapSetImpl
All Implemented Interfaces:
IPCObject, CryptoMapSet

public class CryptoMapSetImpl extends IPCObjectImpl implements CryptoMapSet
Information provided by the PKI file:

    \class CryptoMapSet
    
    \brief CryptoMapSet holds and manipulates crypto map sets.
    
    \example network().getDevice("Router0").getProcess("IpsecProcess").getCryptoMapSetAt(0)
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • setCryptoSetName

      public void setCryptoSetName(String name)
      Information provided by the PKI file:
      
          \brief Sets the name of this crypto map set.
          
          \param string, the name to set on this crypto map set.
          
              
      Specified by:
      setCryptoSetName in interface CryptoMapSet
      Parameters:
      name - Takes in a parameter of name
    • getCryptoSetName

      public String getCryptoSetName()
      Information provided by the PKI file:
      
          \brief Returns the name of this crypto map set.
          
          \return string, the name of this crypto map set.
          
              
      Specified by:
      getCryptoSetName in interface CryptoMapSet
      Returns:
      String Returns a String
    • addCryptoMapSeqByNum

      public void addCryptoMapSeqByNum(int num)
      Information provided by the PKI file:
      
          \brief Adds a crypto map to this crypto map set with the specified sequence number.
          
          \param num, the specified sequence number for the crypto map.
          
              
      Specified by:
      addCryptoMapSeqByNum in interface CryptoMapSet
      Parameters:
      num - Takes in a parameter of num
    • removeCryptoMapSeqByNum

      public void removeCryptoMapSeqByNum(int num)
      Information provided by the PKI file:
      
          \brief Removes the crypto map from this crypto map set with the associated sequence number.
          
          \param num, the associated sequence number of the crypto map.
          
              
      Specified by:
      removeCryptoMapSeqByNum in interface CryptoMapSet
      Parameters:
      num - Takes in a parameter of num
    • getCryptoMapSeqAt

      public CryptoMapSeq getCryptoMapSeqAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the crypto map from this crypto map set at the specified index.
          
          \param index, the index of the crypto map of interest.
          
          \return CryptoMapSeq, the CryptoMapSeq object at the specified index.
          
              
      Specified by:
      getCryptoMapSeqAt in interface CryptoMapSet
      Parameters:
      index - Takes in a parameter of index
      Returns:
      CryptoMapSeq Returns a CryptoMapSeq
    • getCryptoSeqByNum

      public CryptoMapSeq getCryptoSeqByNum(int seqNum)
      Information provided by the PKI file:
      
          \brief Returns the crypto map from this crypto map set with the associated sequence number.
          
          \param seqNum, the sequence number of the crypto map of interest.
          
          \return CryptoMapSeq, the CryptoMapSeq object with the associated sequence number.
          
              
      Specified by:
      getCryptoSeqByNum in interface CryptoMapSet
      Parameters:
      seqNum - Takes in a parameter of seqNum
      Returns:
      CryptoMapSeq Returns a CryptoMapSeq
    • getCryptoSeqCount

      public int getCryptoSeqCount()
      Information provided by the PKI file:
      
          \brief Returns the number of crypto maps in this crypto map set.
          
          \return int, the number of crypto maps in this crypto map set.
          
              
      Specified by:
      getCryptoSeqCount in interface CryptoMapSet
      Returns:
      int Returns a int
    • isSeqExisted

      public boolean isSeqExisted(int seqNum)
      Information provided by the PKI file:
      
          \brief Returns true if the crypto map with the associated sequence number exists in this crypto map, otherwise false.
          
          \param seqNum, the sequence number of the crypto map of interest.
          
          \return bool, true if the crypto map with the associated sequence number exists in this crypto map, otherwise false.
          
              
      Specified by:
      isSeqExisted in interface CryptoMapSet
      Parameters:
      seqNum - Takes in a parameter of seqNum
      Returns:
      boolean Returns a boolean
    • getFlowTableCount

      public int getFlowTableCount()
      Information provided by the PKI file:
      
          \brief Returns the number of flow tables in this crypto map set.
          
          \return int, the number of flow tables in this crypto map set.
          
              
      Specified by:
      getFlowTableCount in interface CryptoMapSet
      Returns:
      int Returns a int
    • getTableAtIndex

      public FlowTable getTableAtIndex(int index)
      Information provided by the PKI file:
      
          \brief Returns the flow table at the specified index.
          
          \param index, the index of the flow table of interest.
          
          \return FlowTable, the FlowTable object at the specified index.
          
              
      Specified by:
      getTableAtIndex in interface CryptoMapSet
      Parameters:
      index - Takes in a parameter of index
      Returns:
      FlowTable Returns a FlowTable